package com.iflytek.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_question
 */
@TableName(value ="t_question")
@Data
public class Question implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 问题的标题
     */
    private String title;

    /**
     * 问题的描述
     */
    private String description;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     *  回答的数量
     */
    private Integer answerCount;

    /**
     * 被关注的数量
     */
    private Integer followCount;

    /**
     * 0为删除
     */
    private Integer del;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}